<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .item {
            width: 400px;
            height: 400px;
            background-color: #abd45f;
            text-align: center;
            line-height: 400px;
            font-size: 0;
        }

        span {
            font-size: 30px;
            vertical-align: middle;
            background-color: #cc3bc5;
        }

        img {
            vertical-align: middle;
        }
    </style>
</head>

<body>
    <div class="item">
        <span>X</span>
        <img width="100" src="./images/author.png" alt="">
    </div>
</body>

</html>